﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_DR2 : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private string _ID;
        public static FieldInfo id = new FieldInfo("m_DR2", "ID");

        [Column]
        public string Name { get { return _Name; } set { _Name = value; EntityState.FieldChange("Name"); } }
        private string _Name; 
        public static FieldInfo name = new FieldInfo("m_DR2", "Name");

        [Column]
        public string WinId { get { return _WinId; } set { _WinId = value; EntityState.FieldChange("WinId"); } }
        private string _WinId; 
        public static FieldInfo winId = new FieldInfo("m_DR2", "WinId");


        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_Region", "Status");
    }
}
